import requests


# 获取请求头
def get_token():
    param = {"mobile": "13800000002", "password": "123456"}
    resp = requests.post(url="http://ihrm-test.itheima.net/api/sys/login", json=param)
    return resp.json().get("data")
    print(resp.json())


if __name__ == '__main__':
    get_token()
